import os
from os.path import dirname

B = os.path.abspath(__file__)
print(B)

B1=dirname(B)
print(B1)

BASE_DIR = dirname(dirname(dirname(dirname(os.path.abspath(__file__)))))

print(BASE_DIR)
